package com.pan.exe.impl;

import com.pan.exe.Executive;

import java.awt.*;
import java.awt.event.MouseEvent;


public class Fire11 implements Executive {
    /**
     * 哼哼哼啊啊啊啊啊啊啊啊啊啊啊啊
     * 注意这是不太靠谱的，当电脑有点卡顿时，11号可能无法顺利打出刀刀烈火
     * @param robot
     */
    @Override
    public void run(Robot robot) {
        robot.mousePress(MouseEvent.BUTTON1_DOWN_MASK);
        robot.delay(100);
        robot.mouseRelease(MouseEvent.BUTTON1_DOWN_MASK);

        robot.delay(300);

        robot.mousePress(MouseEvent.BUTTON1_DOWN_MASK);
        robot.delay(100);
        robot.mouseRelease(MouseEvent.BUTTON1_DOWN_MASK);

        robot.delay(300);

        robot.mousePress(MouseEvent.BUTTON1_DOWN_MASK);
        robot.delay(100);
        robot.mouseRelease(MouseEvent.BUTTON1_DOWN_MASK);

        robot.delay(550);


        robot.mousePress(MouseEvent.BUTTON1_DOWN_MASK);
        robot.delay(100);
        robot.mouseRelease(MouseEvent.BUTTON1_DOWN_MASK);
        robot.delay(100);
    }
}
